package com.ruoyi.appointment.service;

import java.util.List;
import com.ruoyi.appointment.domain.Appointment;

/**
 * 预约服务Service接口
 * 
 * @author ruoyi
 * @date 2024-07-08
 */
public interface IAppointmentService 
{
    /**
     * 查询预约服务
     * 
     * @param appointmentId 预约服务主键
     * @return 预约服务
     */
    public Appointment selectAppointmentByAppointmentId(Long appointmentId);

    /**
     * 查询预约服务列表
     * 
     * @param appointment 预约服务
     * @return 预约服务集合
     */
    public List<Appointment> selectAppointmentList(Appointment appointment);

    /**
     * 新增预约服务
     * 
     * @param appointment 预约服务
     * @return 结果
     */
    public int insertAppointment(Appointment appointment);

    /**
     * 修改预约服务
     * 
     * @param appointment 预约服务
     * @return 结果
     */
    public int updateAppointment(Appointment appointment);

    /**
     * 批量删除预约服务
     * 
     * @param appointmentIds 需要删除的预约服务主键集合
     * @return 结果
     */
    public int deleteAppointmentByAppointmentIds(Long[] appointmentIds);

    /**
     * 删除预约服务信息
     * 
     * @param appointmentId 预约服务主键
     * @return 结果
     */
    public int deleteAppointmentByAppointmentId(Long appointmentId);

    /**
     * 查询预约服务列表
     *
     * @param user_Id 预约服务
     * @return 预约服务集合
     */
    public List<Appointment> selectAppointmentListByUserId(long user_Id);
}
